package com.team.dao;

import java.util.List;

import com.team.entity.Announcement;
import com.team.entity.CapitalReport;
import com.team.entity.DutyOfficer;
import com.team.entity.Equipment;
import com.team.entity.RepairMan;


/**
 * 管理模块Dao
 * @author 陈福桔
 *
 */
public interface AdminiStrationDao {

	public void savedutyOfficer(DutyOfficer dutyOfficer); //保存值班哥哥
	public List<DutyOfficer> listAllDutyOfficer(); //列出所有值班的哥哥
	public void savedepairMan(RepairMan repairMan);//管理员能添加维修人员信息电脑坏了能根据该表拿到联系方式与信息
	public List<RepairMan> listAllRepairMan(); //列出所有维修人员信息
	public RepairMan finRepairManById(int id);// 查找单个维修人员信息
	public void updateRepairMan(RepairMan repairMan);//修改维修人员信息
	public void delRepairMan(RepairMan repairMan);//删除维修人员信息
	public void saveAnnouncement(Announcement Announcement);//保存通知公告信息
	public List<Announcement> listAllAnnouncement();//列出所有通知公告
	public Announcement finAnnouncementById(int id);//点击后进入公告详情
	public List<Equipment> selectEquipmentBystatus(); //查看维修进度查看设备状态
	public void equipmentok(int id);//维修完成后更改设备状态
	public  List<CapitalReport> listMonthPeport(int month,int pagenum);//查看某月报表
	public  void saveCapitalReport(CapitalReport capitalReport); //添加报表   
	public  List<CapitalReport> listSeasonPeport(String season ,int pagenum);//查看季度报表
	public  List<CapitalReport> listYearPeport(int year,int pagenum);  //查看年度报表
	
	
}
